package com.yckj.demo.dongao.service;

import com.yckj.demo.dongao.entity.Lawyer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 律师档案业务接口实现类
 * @auther wanghan
 * @version 1.0
 */

public interface LawyerService {
    public int removeLawyer(int lawyerid);
    /**
     *
     * @return
     */
    public List<Lawyer> findLawyer();

    /**
     * 添加律师
     * @param lawyer 律师对象
     * @return 添加成功返回1，否则返回0
     */
    public int addLawyer(Lawyer lawyer);
}
